package com.xyoto.takeawayUser.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * user_addr
 *
 * @author
 */
@Data
@ApiModel("用户地址表")
public class UserAddr extends Base {

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("地址")
    private String addr;

    @ApiModelProperty("详细地址")
    private String detailAddr;

    @ApiModelProperty("是否默认地址（1-默认，2-不默认）")
    private Short defaultAddr;

}